package com.rbw.persist.dao;

import java.util.List;
import java.util.Map;

import com.rbw.model.TechBean;
import com.rbw.model.TechLabelBean;

/**
 * 科技成果接口
 * 
 *
 */
public interface TechDao {

	List<TechBean> selectByPage(Map<String, Object> params);

	int selectTotal(Map<String, Object> params);

	TechBean getDetail(String tid);

	List<TechLabelBean> selectLabelByTechId(String tid);

	int update(TechBean t);

	List<TechBean> selectUserFavoriteByPage(Map<String, Object> params);

	int selectUserFavoriteTotal(Map<String, Object> params);

	int selectUserTechsTotal(Map<String, Object> params);

	List<TechBean> selectUserTechsByPage(Map<String, Object> params);

	int insert(TechBean tech);
}
